package org.stu.tp.util;

public class GetProperties {

	public static String getPagetimeout(){
		String pageTimeout="";
		Property prop=new Property();
		pageTimeout=prop.getProerty("test.properties", "pageTimeout");
		return pageTimeout;
	}
	public static int getSleepTime(){
		String sleepTime="";
		Property prop=new Property();
		sleepTime=prop.getProerty("test.properties", "sleepTime");
		return Integer.parseInt(sleepTime);
	}
	
	public static String getUserName(){
		String userName="";
		Property prop=new Property();
		userName=prop.getProerty("test.properties", "userName");
		return userName;
	}
	
	public static String getPassword(){
		String password="";
		Property prop=new Property();
		password=prop.getProerty("test.properties", "password");
		return password;
	}
	public static String getUrl(){
		String url="";
		Property prop=new Property();
		url=prop.getProerty("test.properties", "url");
		return url;
	}
	
}
